#ifndef __MV_PASSPORT_DIRECTION_CONFIG_H
#define __MV_PASSPORT_DIRECTION_CONFIG_H

#include <string>

#define DEFAULT_CONFIGPATH "/userdata/direction_reg/passport_reg.json"
#define DEFAULT_DATAPATH "/userdata/direction_reg/data"
#define DEFAULT_IMGWIDTH 1920
#define DEFAULT_IMGHEIGHT 1080

class Config {
public:
    static Config* getInstance();
    ~Config();
    void init(const std::string configPath);
    std::string algoModelPath;
    unsigned InWidth;
    unsigned InHeight;
    unsigned OutWidth;
    unsigned OutHeight;
    unsigned Rotation;
    bool enablePassportSideReg;
    bool enablePassportCoverReg;
    std::string hostAddress;
private:
    Config();
};

#endif